@extends('admin.layouts.head')

@section('content')
    <body>
    <div id="app">
        @verbatim
        <div class="card">
            <div class="card-body">

                <div id="vueApp">
                    <div class="content-box">

                        <div class="top-bar" style="padding: 20px 0;">


                        </div>


                        <el-table
                            :data="userList"
                            border
                            size="mini"
                            style="width: 100%">
                            <el-table-column
                                prop="id"
                                label="ID"
                                width="80"
                            >
                            </el-table-column>
                            <el-table-column
                                prop="unionid"
                                label="unionid"
                            >
                            </el-table-column>
                            <el-table-column
                                prop="mobile"
                                label="手机"
                                width="120"
                            >
                            </el-table-column>
                            <el-table-column
                                prop="created_at"
                                label="注册时间"
                                width="160"
                            >
                            </el-table-column>
                            <el-table-column
                                prop="game_login_time"
                                width="160"
                                label="最后登录"
                            >
                            </el-table-column>
                        </el-table>


                    </div>

            </div> <!-- .card-body -->
        </div> <!-- .card -->
        @endverbatim
    </div> <!-- #app -->

    @include('admin.layouts.vuehead')

    <script>
        const vueApp = new Vue({
            el: '#vueApp',
            data() {
                return {
                    userList: JSON.parse(`{!! json_encode($userList) !!}`),
                }
            },
            mounted() {

            },
            watch: {

            },
            methods: {

            },
        })
    </script>
    </body>

@endsection
